package com.drugstore.drugstore.domain;

import java.util.Date;

/**
 * 对象 employee
 * 
 * @author 
 * @date 2025-05-08
 */
public class Employee
{

    /** $column.columnComment */
    private Long id;

    /** 员工姓名 */
    private String name;

    /** 联系电话 */
    private String phone;

    /** 所在门店ID */
    private Long storeId;

    /** 角色（0门店员工，1配送员，2管理员） */
    private Long role;

    /** 状态（0在职，1离职） */
    private Long status;

   private Date createTime;

    public Employee() {
    }

    public Employee(Long id, String name, String phone, Long storeId, Long role, Long status, Date createTime) {
        this.id = id;
        this.name = name;
        this.phone = phone;
        this.storeId = storeId;
        this.role = role;
        this.status = status;
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取
     * @return storeId
     */
    public Long getStoreId() {
        return storeId;
    }

    /**
     * 设置
     * @param storeId
     */
    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    /**
     * 获取
     * @return role
     */
    public Long getRole() {
        return role;
    }

    /**
     * 设置
     * @param role
     */
    public void setRole(Long role) {
        this.role = role;
    }

    /**
     * 获取
     * @return status
     */
    public Long getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Long status) {
        this.status = status;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String toString() {
        return "Employee{id = " + id + ", name = " + name + ", phone = " + phone + ", storeId = " + storeId + ", role = " + role + ", status = " + status + ", createTime = " + createTime + "}";
    }
}
